# umount /a
# lv_to_xlv -o scriptfile
scriptfile is the name of a temporary file that lv_to_xlv creates, for example /usr/tmp/xlv.script. It contains a series of xlv_make commands that can be used to create XLV volumes that are equivalent to the lv logical volumes listed in /etc/lvtab.
vol
with the new names. For example, change:
vol lv0
to:
vol a
The volume name can be any name that is a valid filename.
# xlv_make scriptfile
# rm /etc/lvtab
# vi /etc/lvtab
xlv
after /dev/dsk
.
xlv
into the raw device name.
For example, if an original line is:
/dev/dsk/lv0 /a efs rw,raw=/dev/rdsk/lv0 0 0
the changed line, including the name change, is:
/dev/dsk/xlv/a /a efs rw,raw=/dev/rdsk/xlv/a 0 0
# mount /a